<template>
	<view class="main">
		<!-- 头部用于显示用户的发布信息 -->
		<view class="header">
			<view class="avater">
				<view style="height: 100rpx;width: 100rpx;position: absolute;overflow: hidden;border-radius: 50%;">
					<image style="height: 110rpx;" mode="heightFix" src="/static/img/login.gif"></image>
				</view>
			</view>
			<!-- 用户信息 -->
			<view class="user">
				<view class="text" style="font-size: 30rpx;font-weight: 600;display: flex;
					flex-direction: column;color: #ffac47;font-family: cursive;
					justify-content: end;">
					作者名字
				</view>
				<view class="text" style="font-weight: 100;font-size: xx-small;padding-top: 5rpx;">2020-06-12</view>
			</view>
		</view>


		<!-- center -->
		<view class="center">
			<view style="font-size: 25rpx;font-weight: 300;">节约时间，也就是使一个人的有限的生命，更加有效，而也就等于延长了人的寿命。——鲁 迅</view>
		</view>


		<!-- bottom -->
		<view class="bottom">
			<uni-icons type="heart" size="20"></uni-icons>
			<uni-icons type="chatbubble" size="22"></uni-icons>
			<uni-icons type="undo" size="22"></uni-icons>
		</view>
		
		<!-- 用户评论 -->
		<view>
			
		</view>
		
	</view>
</template>

<script>
</script>

<style>
	.main {
		width: 100%;
		height: 100%;
		background-color: white;
	}

	.header {
		height: 150rpx;
		width: 90%;
		display: flex;
		flex-wrap: wrap;
		/* 		background-color: #d7ffce; */
		margin: 0 5% 0 5%;
	}

	.avater {
		height: 140rpx;
		width: 140rpx;
		/* 		background-color: #d7ffce; */
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.user {
		height: 140rpx;
		width: 250rpx;
	}

	.text {
		height: 70rpx;
	}

	.center {
		width: 90%;
		margin: 0 5% 0 5%;
		/* 		background-color: aquamarine; */
		padding: 0 20rpx 0 20rpx;
	}

	.bottom {
		width: 90%;
		margin: 30rpx 5% 0 5%;
		height: 120rpx;
		padding: 0 30rpx 0 30rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom: 0.5rpx solid #dddddd;
		border-left: 0.5rpx solid #dddddd;
		box-shadow: 10px 0px 5px #c5c5c5;
	}
</style>